/**
 * FileName: UserClient
 * Author:   powersi
 * Date:     2021/1/31 22:18
 * Description:
 */
package comzm.demo.sc.consul.consumer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.util.AntPathMatcher;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Description: 
 * Author:      powersi
 * Date:        2021/1/31 22:18
 */
@FeignClient("sc-consul-server")
public interface UserClient {

    @RequestMapping("/feign/getUser")
    String getUser(@RequestParam("userName")String userName);


}
